.class public abstract Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;
.super Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;
.source "BaseLimitNotificationModel.java"

# interfaces
.implements Landroid/os/Parcelable;


# instance fields
.field protected mActiveNotificationCount:I


# direct methods
.method public constructor <init>()V
    .locals 14

    .line 63
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    const v1, 0x7ffffffe

    const v2, 0x7ffffffe

    const-string v3, "group_default"

    const/4 v6, 0x0

    const/4 v7, 0x1

    const-string v8, ""

    const-string v9, ""

    const-string v10, ""

    const/4 v11, 0x1

    const/4 v12, 0x1

    const/4 v13, 0x0

    move-object v0, p0

    invoke-direct/range {v0 .. v13}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;-><init>(IILjava/lang/String;JZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IILlt/farmis/libraries/bitflags/BitFlags;)V

    .line 67
    invoke-virtual {p0}, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;->getDeliveryFlags()Llt/farmis/libraries/bitflags/BitFlags;

    move-result-object v0

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    const/4 v0, 0x0

    .line 68
    iput v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;->mActiveNotificationCount:I

    return-void
.end method

.method public constructor <init>(Landroid/os/Parcel;)V
    .locals 0

    .line 93
    invoke-direct {p0, p1}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;-><init>(Landroid/os/Parcel;)V

    .line 96
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result p1

    iput p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;->mActiveNotificationCount:I

    return-void
.end method


# virtual methods
.method public describeContents()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public getCallback(Landroid/content/Context;)Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;
    .locals 0

    .line 122
    iget-object p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mCallback:Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;

    if-nez p1, :cond_0

    .line 124
    new-instance p1, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel$1;

    invoke-direct {p1, p0}, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel$1;-><init>(Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;)V

    iput-object p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mCallback:Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;

    .line 151
    :cond_0
    iget-object p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mCallback:Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;

    return-object p1
.end method

.method public getDatabaseWriter(Landroid/content/Context;)Llt/farmis/libraries/notificationcontroller/data/providers/BaseNotificationDataProvider;
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<N:",
            "Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;",
            ">(",
            "Landroid/content/Context;",
            ")",
            "Llt/farmis/libraries/notificationcontroller/data/providers/BaseNotificationDataProvider<",
            "TN;>;"
        }
    .end annotation

    const/4 p1, 0x0

    return-object p1
.end method

.method public getDeliveryFlags()Llt/farmis/libraries/bitflags/BitFlags;
    .locals 2

    .line 193
    invoke-static {}, Llt/farmis/libraries/bitflags/BitFlagSet;->createNew()Llt/farmis/libraries/bitflags/BitFlags;

    move-result-object v0

    const/4 v1, 0x3

    new-array v1, v1, [I

    fill-array-data v1, :array_0

    invoke-interface {v0, v1}, Llt/farmis/libraries/bitflags/BitFlags;->set([I)Llt/farmis/libraries/bitflags/BitFlags;

    return-object v0

    :array_0
    .array-data 4
        0x2
        0x6
        0x1
    .end array-data
.end method

.method public isEmpty()Z
    .locals 1

    .line 250
    invoke-super {p0}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_1

    iget v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;->mActiveNotificationCount:I

    if-gtz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0
.end method

.method public setActiveNotificationCount(I)V
    .locals 0

    .line 176
    iput p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;->mActiveNotificationCount:I

    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    .line 282
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-super {p0}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\nBaseLimitNotificationModel { Active notification count = "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;->mActiveNotificationCount:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, " }"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 0

    .line 271
    invoke-super {p0, p1, p2}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->writeToParcel(Landroid/os/Parcel;I)V

    .line 274
    iget p2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;->mActiveNotificationCount:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    return-void
.end method
